package org.feng.entity.vo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;

/**
 * @author feng
 */
@Data
@ApiModel("菜单查询返回体")
public class MenuVO implements Serializable {
    @ApiModelProperty("id")
    private Long id;
    @ApiModelProperty("上级id")
    private Long parentId;
    @ApiModelProperty("名称")
    private String name;
    @ApiModelProperty("标识")
    private String code;
    @ApiModelProperty("链接")
    private String path;
    @ApiModelProperty("图标")
    private String source;
    @ApiModelProperty("排序")
    private Integer sort;
    @ApiModelProperty("分类  0 菜单  1按钮")
    private Integer category;
    @ApiModelProperty("是否外联")
    private Integer link;
    @ApiModelProperty("是否缓存")
    private Integer keepAlive;
}
